package com.choker.mall.entity;

/**
 * Created by Lychee on 2018/2/28 18:17.
 * <p>
 * Author:Hejingzhou
 * <p>
 * Email:tcowork@163.com
 */
public class BaseResult {
    private boolean isResult;
    private Object data;
    private String message;

    public BaseResult(boolean isResult, Object data, String message) {
        this.isResult = isResult;
        this.data = data;
        this.message = message;
    }

    public BaseResult() {
    }

    public boolean isResult() {
        return isResult;
    }

    public void setResult(boolean result) {
        isResult = result;
    }

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
